<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Profile;

class DefaultProfile
{
    public static function getProfile($regionId, $accessKeyId, $accessKeySecret)
    {
        return \AlibabaCloud\Client\AlibabaCloud::accessKeyClient($accessKeyId, $accessKeySecret)->regionId($regionId);
    }
    public static function getRamRoleArnProfile($regionId, $accessKeyId, $accessKeySecret, $roleArn, $roleSessionName)
    {
        return \AlibabaCloud\Client\AlibabaCloud::ramRoleArnClient($accessKeyId, $accessKeySecret, $roleArn, $roleSessionName)->regionId($regionId);
    }
    public static function getEcsRamRoleProfile($regionId, $roleName)
    {
        return \AlibabaCloud\Client\AlibabaCloud::ecsRamRoleClient($roleName)->regionId($regionId);
    }
    public static function getBearerTokenProfile($regionId, $bearerToken)
    {
        return \AlibabaCloud\Client\AlibabaCloud::bearerTokenClient($bearerToken)->regionId($regionId);
    }
}

?>